Refactor.
Add python timing script.