Changed arguments to ${BaseDir} variable.