update main.php for static files