Simplified redirect logic
Now only setting location header
Corrected form platform name value