The vcs script I use for my PS1 and some minor changes