changed command line call to bash script