Moved the require code