james | correcting error in script