added parser for script arguments