create shell script for deal.