updated readme. added interval option