Format output for url script