Overlay support library for flash