add repository setup script