Removed workstation code

I really need a better understanding of what this is doing, but it
probably can be skipped by using a better query.