Function run renamed to build