Create editChain.php