Updated sample for deployment