class created in script.php