Added app title variable and fixed a few environment specific issues