use xs++ to flash your main software and custompack.
remember that main and software must match.
custompack has to relate to the language chosen.