Added handling for all URL parameters and defaults