fixed issue where campaign would crash if it did not have write access to sites-enabled directory