Add task for running R scripts