added packagePath option