improve myenv init script