Add basic version check to bash_logout