rework of background scripts
POC