added ability to share code via hash