loop variables and coding conventions
use of main.sh and executable arguments