Changed the script to load pictures into the DB