Fixes deploy script