Create create-ref.php