New: modes run, wait, and fork are correctly working