Fixed offline mode usage

Well this is related to #1... Totally missed that this offline setting has to go in second argument object. That previous pull request does virtually nothing at all :( I thought I have tested it, but obviously not very well. I am sorry for inconvenience.