Adding flag for running_via_init