Bug fixes for add credits and upload image
Adding a script to import existing credits in the database.