finished main function

it lets you know what options have been used as well