Trying to write a setup script