Add code to run plot variables