added refs param
updated readme