Added command case insensitivity

And added interval and timeout