Significantly improve the readability of the script