Added resetting required check so multiple modules work correctly