create cursor on-the-fly if no pickle-file is found