change require statements to relative paths