added script for printing out refs easily