Re-edit and include R scripts