@ktcosmos - If you're trying to use a KFE tag on a PHP file that exists outside of the theme folder, it's not going to work.
KFE relys on certain hooks that Wordpress provides to do it's thing, and if it's not processing a Wordpress template (theme file), KFE won't run.
Additionally, I see you have <txp:kml_flashembed_js/> on at least the makeappointment.php page. That's not going to work at all, as that's a tag designed for the Textpattern version of KFE.
Since KFE is really just an easy interface for the SWFObject javascript to be used within the confines of Wordpress or Textpattern, and you're trying to use it outside either CMS, I suggest you use straight SWFObject javascript code.
Hope this helps.