GitHub deploy script fixes