add git ignore and modify sh.py and remove unused imports