Created the main script