user can set sourcepath