prevent custom script to go to admin