wrote a setup script, needs testing