Properly load custom functions