set the paths in settings automaticly