adding John Paul's script