Added support to execute embbeded scripts via console.