added init file support