cleaned jl script