run librarysetup.r and knitall.R