Changed redirection codes

Updated script for proper URL and website redirection.