Added a processing of the CMD in order to use FILE_ACTIVE, FILE_ACTIVE_PATH, etc.