Cleaned up syntax for readability
Changed value of options when unchecked from blank to NULL. Cleaned up comments for better readability.