It should be executed by command line with the parameters type, on which this case is 1. It must also have a destination file to the generated files.