Improved scofield support, added pathadd and pathsub