This before save is a nightmare, man. I'll try to figure out improvements for it, but I'll take some time :D