script updated so that it would automatically store experiment results and other meta info