<?php
//some actions here
$extra_response = "<script>setTimeout(function(){document.location='welcome.php';}, 3000);</script>";
$extra_response .= '<p style="text-align:center">Page will reload in 3 seconds to finalize installation...</p>';
