Fixes load_functions rake task