user-data deployment script fixed