use flags in actor

Link: https://github.com/GeneAssembly/biosal/issues/575
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>