fixed key sharing scripts