Correct app template main params.
Fixes issue #1.