more of the script. still needs some re-writing.