The script is now complete! You should now only have to edit the settings part, don't worry about the code unless you know mrc well.