Fixed indentations and added autofocus

Got it all working