shell script for LMJ