Miley Cyrus clearly owes a big thank you to romance writer Nicholas Sparks for seriously helping out her love life.

Sparks wrote the perfect screenplay for 'The Last Song,' which gave Cyrus a plum part and a hot Australian co-star, Liam Hemsworth, who later became her boyfriend.

"I owe Nicholas big time," Cyrus joked at the press conference for the film which opens March 31.