Multiple fix to Orchestra Publisher implemented after testing on actual shared hosting.

Signed-off-by: crynobone <crynobone@gmail.com>