Changed require to require_once to fix issue 814