Modified to use labconfig and deployconfig data only rather than