Plugin Postscreen: code optimization