Adjusted glob function to include JPGs, write JSON output to app/data/, adding license file