created flag conversion in initialization.c
fixed merge