Adding leader r to write var/require lines at top of file