atomindices script