Update ocs.sh

Fixed syntax issues with sourced variables