Fixed Checking admin status before running.