cleanup and test in plugin image effect command