Removed typedefs from script header for portability