Use dirname for the fucking path