add 'cmd' query parameter for specifying command to run on load