parser automation bash script