add script to build_pic_dict