made number of minutes configurable via arg