Add some directories and functions