added support for a dash to be used in the resource name. some file paths use dashes.