initial version of setup script