fixing require on run()