Fix paths, config to work in deployment environment