put laravel code into run.php and allow user to add custom code to functions.php
turn off e_notice error