Added some customization options
More than 2 formats possible and adjustable durations/intervals