Updated run method.