Tidy up style/script indentation to makes things easier to follow and standardise on spaces for indentation as it was a mix of both.