added support for useMasterKey in options for every call