changing app.yml references to app.php
adding in permissionDirs to the composer run-scripts to deal with app/logs and app/cache writable issues