Fix getopt issue.
Fix getopt issue in bash_template.
Create email_validate script.