Rewrote #available_commands to be more flexible and thereby removed hardcoded commands