Fix indentation and create global string for url