he was inspired by the film.so No,go ahead and write the scrpenelay,cause you never know.you for sure have a different writing style than the two movies you've mentioned,so as long as yo don't copy every little detail,you should be fine.good luck,and cool idea.