cleaned up Rscrcipts