init script mask fix