Added look up and moved run to run.py