I have written an external script to update user data in moodle. I included moodle/onfig.php file in the external script. When I access the external script I receive 303 err