Fix deploy script for renamed images