change location of fun plotAndSave from shinyspec.r to global.r
For some reason this fun was not visible previously