Change initial directory and module