Jim's addition to Justin's script