change around stuff so sysroot functions