Added separate method for validation of arguments so whole process does not start just to give errors later if something is missing.