Fixing signing issues for image contracts