added after_restart deploy hook