adding draft detection script