Add profiling environment
Add index on script_type_id