Improved help and validation of parameters