Optimization scripts & styles