export isLocal to utils && review addServer check with ssh