added an error message if dir separator is missing in maintenance-script