Added functionality to change.php