Add global functions file