Made some changes to get the app work on an Aliased directory