Added [modules] collection to collect php code in compress_module()