less hardcoding of require paths