dumpref bash script