First call to imagefilledrectangle to set the background was unnecessary as that is already done in the first call to imagecolorallocate
Added html header include
Schedule header is bold
Schedule can now be "dynamic" (sorta)
phpinfo();