Adjust script launching environment

To reduce coupling between OPENCBS types and scripts.