Implement INPUT_PULLUP
Fix file permissions