added gallery and image migrations