Replaced hardcoded assignment codes with XPLMFindCommandRef calls