Create a flag for every local block