rebased branch on the actual master + fixed all bugs (Brick + Functions are running as usual again)