implemented setup script