script to test background processes