Adds batchfile generation (not integrated with binstub generation yet)