fixed up the sys setup script