Update and rename Function.php to main.php