change mode of setup script