Add batch profile support

Closes #14