Work in progress on local variable saving / loading