Check for existence of directory
Check all parameters