added --foreground tag for all processes