Added original version of script