Add useful tasks and update check_archive method