Fixed get_path_for method location
Fixed exists brackets (for tidiness)