Updated functions, added TAG update and reset to head. changed configuration files location.