JK Rowling will be making her screenwriting debut.