Version 0.5.9 with default device flag support