removed a preserve_cwd that crept in on merge
added cron to index studies on reboot
updated get_study_index