Need to sync the changes with https://github.com/NSLS-II-XFM/profile-collection-maia/blob/main/startup/40-maia.py.