Moved python code around.