Lua functions for connecting to SciDB