Add the script and add documentation