Got rid of the 'get_fwpath' function which is pointless