Add script to jsonify images