moved resource common path out of strings and into a constant