Fixed lfscript