Added more detail to the documentation of this script