changed from root_path to instance_path