Fixing beta deploy script