Adding url function for managing asset paths