working splash and redirect