Fix relative paths

This is a draft for fixing #61