added script for confirmation page