Initial version of script.