modified path and added try except for dataset