Support -o (offline) and -U (update) options