Add runonce

 Runonce to update database for previewFile and previewImage