move functions directory