Fixed local running. Fixed repo updating.