refactor to sandlot script