Updated to enable flash export