Add Limit Switch Code