Add support for dashes in the resources path's.