modified scripts to work on linux