Load functions relative to destination dir

Closes #3