removed unused scripts & added exeption to routes