possible this would ever get run before any folders had been created/deleted (ie. `sg_data` would be `None`)?