This works now :D
Still need tweaking, but for now it works

Signed-off-by: ShadowChild <shadychild12@gmail.com>