Added support for calling from scripts to geekhub