changed scripts to run in bash