added configure.py
General update for mutiple target