first version of setup script