From Nico:
If you search for "set_random_dir" you'll find that it asks you to write it but doesn't quite make it clear enough that you need to figure it out yourself. I thought it was a built-in at first. Could have the final code somewhere with it in. Also mentioned in part 4 that it should be reused.