checks for command existance