Add the main script.