Yes... sorry I forgot that the page name is also referenced in the form action:
on iline 133 you would also update the other page reference to use the php_self server variable so that it would be portable as a plugin.
action="contact_basic.php"
becomes:
action="<?php echo($_SERVER["PHP_SELF"]); ?>"