how to safely run a generator