Improved indentation of script