Plugging min contexts into cluster scripts