Update Prepare.php

Fix bug with undefined variable

Also I'm very interested in this project. I'd like to help with it's development. What help do you need?
Is there a roadmap of it?
Please contact me if you are interested.