move init script to "examples/" directory