Enable to pass in function for readOnly and scoreName option
Merge pull request #43 from aprimadi/master

Enable passing in function to readOnly and scoreName options