Modified require to require_once