to allow more than one folder for extra-resources, also affects line 77