added imotbg.py script