added simple flag do switch fds on and off