build app file after modules