first working version of setup scripts