cleans up lightbx script