Added directory existance check on start