Added option to turn on static mode