Use Flask instance_path instead of absolute paths.