added the option to archive jobs