Modified set_location to take in part location string