fix relative path bugs, add skel files