Minor updates to add.php