System setup script.