3rd attempt at resolving resource path issues