Finished documentation, debugged the local usage