updated panels and flag modules for php 5.4