fixed quit command and build links obtain