added checkbox for 'static' attribute, some minor changes