Move add_to_PATH to a better place