Rewrote draw script, still some errors