config and redir scripts