Created the main script and the executable bat.