Run method changed to support params