Fix deploy spec, added logging