Provided a fix for users that want to have LPB enabled and flagpaint7