adds config and macro to make multiple plot quickly