move baseUrl and IndexFile out of environment