Moving action to top of extras.php