refactored main workstation script added non-manip functionality