Fixed major bug. Works now as far as I know. \o/