declare plotting functions
rename plotting script