changed genLJpot.py