I would include this within one of the commands, and import it from that command into the others.  That way, you could build the data path using settings.py (rather than the weird relative path below).