Fixing batch scripts for l7 kernels