studymod is a utility for editing an existing study file (.sdy), automatically, from the command line.