Added 'basedir' option to express call