add archive log shell script