first code commit

Contains the first version of the script.