Changed default.php template to run with/without a script