Added interval option to pipe input module