diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100755
index 0000000..b58b603
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,5 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100755
index 0000000..0adc71d
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100755
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/webtester.iml b/.idea/webtester.iml
new file mode 100755
index 0000000..24643cc
--- /dev/null
+++ b/.idea/webtester.iml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
old mode 100644
new mode 100755
diff --git a/README.md b/README.md
old mode 100644
new mode 100755
index f9b88dd..bfb9244
--- a/README.md
+++ b/README.md
@@ -3,9 +3,6 @@ MRAID WebTester is a community-driven tool to run MRAID ad units in a web enviro
!! This project is currently unattended and is not scheduled for updates !!
-### Using the tool
-
-!! The online tool at http://webtester.mraid.org/ is no longer maintained. Users wishing to run the webtester should do so locally. !!
===
PREPARE: One the first screen, provide the properties for your test environment
diff --git a/compliance/docs/MRAID_Test_Ad-Expandable.pdf b/compliance/docs/MRAID_Test_Ad-Expandable.pdf
old mode 100644
new mode 100755
diff --git a/compliance/docs/MRAID_Test_Ad-Fullpage.pdf b/compliance/docs/MRAID_Test_Ad-Fullpage.pdf
old mode 100644
new mode 100755
diff --git a/compliance/docs/MRAID_Test_Ad-Resize.pdf b/compliance/docs/MRAID_Test_Ad-Resize.pdf
old mode 100644
new mode 100755
diff --git a/compliance/docs/MRAID_Test_Ad-Resize_Errors.pdf b/compliance/docs/MRAID_Test_Ad-Resize_Errors.pdf
old mode 100644
new mode 100755
diff --git a/compliance/docs/MRAID_Test_Ad-Two_Part_Expandable.pdf b/compliance/docs/MRAID_Test_Ad-Two_Part_Expandable.pdf
old mode 100644
new mode 100755
diff --git a/compliance/docs/MRAID_Test_Ad-Video_Interstitial.pdf b/compliance/docs/MRAID_Test_Ad-Video_Interstitial.pdf
old mode 100644
new mode 100755
diff --git a/css/main.css b/css/main.css
old mode 100644
new mode 100755
index 19e4066..72b05c2
--- a/css/main.css
+++ b/css/main.css
@@ -140,7 +140,7 @@ div[class~=consoleFrame] {
line-height: 1.6;
}
-#adURI, #adFragment {
+#adURI, #adFragment ,#adHeadScript{
width:70%;
}
diff --git a/css/reset.css b/css/reset.css
old mode 100644
new mode 100755
diff --git a/docs/architecture.md b/docs/architecture.md
new file mode 100755
index 0000000..e166233
--- /dev/null
+++ b/docs/architecture.md
@@ -0,0 +1,106 @@
+# MRAID WebTester Architecture
+
+The MRAID WebTester is a web-based tool designed to test Mobile Rich Media Ad Interface Definitions (MRAID) implementations. This document outlines the architecture and core components of the system.
+
+## Project Structure
+
+```
+webtester/
+├── css/ # Style sheets for the application
+├── jquery/ # jQuery and UI libraries
+├── img/ # Image assets
+├── widgets/ # UI widget implementations
+├── safari/ # Core MRAID implementation
+│ ├── main.js # Application logic
+│ └── mraidview.js # MRAID view implementation
+├── compliance/ # IAB compliance test ads
+│ ├── units/ # Test ad units
+│ └── docs/ # Compliance documentation
+├── index.html # Main application entry point
+├── htmlproxy.php # Proxy for HTML content
+├── imageDownload.php # Helper for image downloads
+├── favicon.ico # Site favicon
+├── LICENSE # BSD License
+└── README.md # Project documentation
+```
+
+## Core Components
+
+### 1. User Interface (index.html)
+
+The UI is divided into three main tabs:
+
+1. **Prepare**: Configure test environment properties
+ - Device geometry (ad sizes, screen sizes)
+ - API version selection (MRAID v1 or v2)
+ - Placement type (Inline or Interstitial)
+ - Off-screen option
+ - Native features to emulate (sms, tel, calendar, etc.)
+
+2. **Flight**: Input ad code for testing
+ - Head script inclusion
+ - HTML tag source input
+
+3. **Test**: Run and monitor the ad
+ - Console output for logging
+ - Orientation controls
+ - Error and info filtering
+
+### 2. Core MRAID Implementation (safari/mraidview.js)
+
+This is the heart of the application, providing a web-based MRAID container implementation. Key components:
+
+- **Constants**: Defines MRAID versions, placements, states, events, and features
+- **Event Handling**: System for registering and triggering event listeners
+- **MRAID Bridge**: Implementation of the MRAID API specification
+- **Rendering Engine**: Creates and manages the ad frame/window
+
+The implementation follows the MRAID specification flow:
+1. Initialize properties (version, supports)
+2. Create ad window
+3. Initialize ad frame and bridge
+4. Set up event listeners
+5. Signal ready state to the ad
+
+### 3. Application Logic (safari/main.js)
+
+Controls the application flow and user interaction:
+
+- **Event Listeners**: For console logging and error reporting
+- **Form Handling**: Processing user input from the Prepare tab
+- **Rendering**: Functions to render ads from HTML or URLs
+- **Utilities**: Helper functions for orientation changes, query string parsing, etc.
+
+### 4. Compliance Testing (compliance/units/)
+
+Contains IAB-created test ad units for validating MRAID implementations:
+
+- Interstitial ads
+- Resize functionality (with error testing)
+- Two-part expand tests
+- Full-page ad examples
+- Video support tests
+
+## Data Flow
+
+1. User configures test environment in the Prepare tab
+2. User inputs ad HTML/script in the Flight tab
+3. System renders the ad in a popup window with MRAID container
+4. MRAID events and method calls are logged to the console
+5. User can manipulate the environment (e.g., orientation) to test ad behavior
+
+## Integration Points
+
+- **Query String Parameter**: The `adtag` parameter allows direct injection of HTML into the Flight tab
+- **Console Logging**: All MRAID interactions are logged to the console for debugging
+
+## Technical Constraints
+
+- Project is no longer actively maintained
+- Uses older versions of jQuery and related libraries
+- Implementation specifically designed for MRAID v1 and v2 (not newer versions)
+- Some browser security policies may affect functionality when running locally
+
+---
+
+This architecture document should be updated if any feature changes or enhancements are made to the system.
\ No newline at end of file
diff --git a/favicon.ico b/favicon.ico
old mode 100644
new mode 100755
diff --git a/htmlproxy.php b/htmlproxy.php
old mode 100644
new mode 100755
diff --git a/img/crisp-logo.svg b/img/crisp-logo.svg
old mode 100644
new mode 100755
diff --git a/img/github-logo.png b/img/github-logo.png
old mode 100644
new mode 100755
diff --git a/img/iab-compliant-mraid-2.0.eps b/img/iab-compliant-mraid-2.0.eps
old mode 100644
new mode 100755
diff --git a/img/iab-webtester-logo.png b/img/iab-webtester-logo.png
old mode 100644
new mode 100755
diff --git a/img/iab-webtester-logo.psd b/img/iab-webtester-logo.psd
old mode 100644
new mode 100755
diff --git a/img/notch.png b/img/notch.png
old mode 100644
new mode 100755
diff --git a/index.html b/index.html
old mode 100644
new mode 100755
index b372723..735a8ff
--- a/index.html
+++ b/index.html
@@ -44,7 +44,7 @@
orientationWidget.init();
load();
- var adtag = getQueryStringValue('adtag'),
+ var adtag = getQueryStringValue('adtag'),
fragmentArea;
if (adtag && adtag !== '') {
@@ -75,14 +75,14 @@