Make app work in root directory