How to make it work on doors and ladders only?