Updated extension, and fixed indentation