reworked format naming; fixed trailing line feed issue with vsh files
added support for running vsh files as standalone scripts