changing resource path load to work with travis