Fix screwdriver code style and add protection support