Update put_script to use -b. Add the position testing lua script for EMI.