resize renamed to initialize, started on framework scripting (again)