added getopts and author info