adds -F and -w flags