Updated functionality in setup/index.php

Signed-off-by: langbakk <langbakk@gmail.com>