improved script headers