Added check to see if URLs start with "http://", add it if they don't. Added support for dynamically redirecting.