added argument for the working directory and a obligatory file-prefix
fixed error in help output