Added bg_window.sql