added WAN_ENABLED, set file to append only unless missing