removed duplicate scripts from optimized response