Completed new at and bg poll scripting.