commit shell script for parsing references