How to activate the automatic option