setup script modified