Change fork commands to take global flags.