Inital script by Ryan Davies.