Code for HSL metroscreen reverse engineering