Revert "install flag module"

This reverts commit 125d33b0f4e65cb37c62e106799e3f16ced00050.