improved error message
extend create_nix_file, to also create data_arrys etc
not running sync commit!!