remote the options that is not necessary
update the path_init to path_write, add the appending function