NOREF: Putting the actual script into a main function