Switched duration flag back to int and run time.ParseDuration on it