Fixing image paths and some changes in deploy processing cuortesy of jake