Modified OCS to eliminate some escaping and bash bugs -- script functions as intended now.