copied over what should be the main scripts of interest