Added a script which select HEAD only
small change
This selects the HEAD. If one more argument is given then select the version
updated