Execute command on each request