Explain what the script does