change "gen" to "build" everywhere and add arguments to the _postbuild script