Delete site function, small reformat