So around 5:10 in the video you bring up the Metadata part.
But you never explain why it is important or how you knew that the bucket path was supposed to go in there.
Also that Metadata option you supply the Value but no key.
At 5:32 the key is set. The explanation regarding setting the key and value in the metadatas service is because right at the beginning there is quick review of the script and you can see that the script requires this value of the bucket and that it looks into the metadata service to get it.