Added support for all command line arguments. Changed single letter names. Added time period setting.