Changed admin so that it does not repeat the work on reload