demo script completed-needs to be re-tested. data analysis to be added