Changed Header() redirect to script printfs