basic export script command, closes #52