Added support for user_data in environments and vms