setup script to recreate deployment