Batch mode doesn't like to look for scripts in the local /.gimp/scripts directory, especially if there is a existing script of the same type. So it may be neccasary to install the modified scripts in the main system wide script directory, typically $PREFIX/share/scripts/.