added code to standardize plots