Added appointment table script