fixes #26; can not use require for relative paths