What does this script do? Does it have to be sourced?