Correct loops and load from folder (extension allowed only)