add ad-hoc basepath
fix basepath
Merge pull request #66 from assureit/basepath

Looks nice (except a need for modification, but it's necessary i think). Well done.