changed static scriptfile path to commandline argument