re-placed datetime call outside try:
added options in argparse for output. They are not implemented yet