Improved getopts. Commented LOG variable.