added dash to allowable chars for paths