My understanding was the extracting the address from a script required some pattern matching attempts, but if we let the user say they want to query pattern X, with A, B, C params then we should get the exact script, no? Again, I could be missing something here.