add q matrix to plots
make sure libraries are loaded by the script
update ignore for rstudio files