changed redirecting for init script