Update deploy script to restore the parameters.yml after deploy