Added lock_file to init