Export "console" to scripts