Gave the script a tidy