setup script revisited