Solved autoupload bug on onboot or on network change