Changed require to require_once