Made init user script more robust.
Removed unnecessery import