Add remote query script.