Improve publish script
Add Ctrl+Enter support to demo