Added a main script.