Now properly patches url and settings