Handle Atom as well

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>