better logging
improved INIT_SCRIPT def
better variable naming