Hi Sagi,
I've just finished a script that does this exact thing. It's called
Photography Orders.
It's not free, but fairly cheap and will save you a lot of time in developing (took me about 200 hours to develop).
Happy to help you out if you have any questions about it.
Cheers,
Luke