Added parameter checking and corresponding error message to all bin/ commands.