Handle sourcepath & stuff