adjusted functions and load functions and misc from zshrc