add properties to all parameters
ensures appDir is a directory and also exists