Adapt deploy script to release