script with png export