bckgrnd comes from the main script