change app and public dir path