Updated: Updating var directory permissions
Updated: Updating ezdemo_site var log directory permissions
Updated: Added missing variable declarations