Initial version of script