New client script
Fixed undefined body error