Added config option to take screenshots every "n" seconds