Index init script

wont the host vary from env to evn?