fix for typo in theme.zsh
added tests to check if local scripts exist before sourcing them