add -debug and -sit_and_go flags