cache all script fields in one place