Switched uhpreplace to global and require_once