adding callback and script playing options