Merge prelfs and lfs script into 1 file