replace setup script