updated script so it actually works :p