Fixed silly error where I didn't import os in beacon_rx script.