add_folder() works fine in every language but it has no effect if you use it before engine initialization.