Fixed, renamed & tweaked site deployment function