added support for running vsh files as standalone scripts