Calling `onfinish` in all cases

needs to be done before we call exports.play