Improve deployment script