first version of the scripts