Added optional -d option to set data lookup path