Added run and flush methods
Build