Created the main script which brings everything together.