beginnings of a control script and added endpoints