update thor and dotenv
handle interrupts during run