fixed stuff so it's platform independent and abs paths work