Changed all require's to require_once's