Fixed requiring code