Add buildref.sh