added data folder check