deprecated setup script