Move command execution out of the url