Created some scripts called by index.php