Changed require() to require_once() to avoid php notice messages in error logs.