According to Lavigne , she wrote the song after asking Disney executives and director Tim Burton for a role on the soundtrack . Lavigne wrote the song after asking Disney executives and film director Tim Burton if she could write a song for the film .