- added missing python shebang to template piston executable
- fixed application paths init error