Updated handler to pass full path to genmodel.  This commit closes #26.