Macro with scheduler to make automating tasks easier