fixed issues involving autogeneration of lsm.conf file