added new function hostname-exit-hook.sh to init_files