1. Added run modules when IP changed
2. Fixed minor bug