extracted network commands to another file