Updated script to use lfescript.

Also fixed some errors and added a usage.