added script for sensing fallen pins