Actually, you can add in new code to the script. The difficult part (currently) is changing existing code. But new code is fine.

With regards to your question, that's already in the script. Simply setup the membership options so that in order to create an account, you have to pay. Only account holders can upload to your site.