adding queue kwarg for periodic tasks