added populate category and image scripts