tried again with more robust file paths