move profile functionality to zsh scripts