modify url tag in templatese, add init sh