Added run functionality to process