Make input relative to lab dir rather than absolute.