adding path to save png files as argument