More work on Corp VSM script