Added a check if a parameter was given as a string or integer.