final script changes

completed the script changes needed to complete the course project