refactored run function to not recursively call itself during run initialization to prevent stormagent zappa instance from restarting while activation and security cert info is being auto retrieved