Added lschange script
Don't exit when the exit code is not 0
Use monitor instead of a loop
Added log script