Not Indexing propertly

Beets works fine when I manually run the script to index from by download file to my music file

docker exec -u abc -it beets /bin/bash -c ‘beet import /storage/Music-upload’

However when running in the background beets will find files in my download folder and transfer them to the artist correctly but not create an album, rather it dumps all tracks into the artist folder.
I’ve also requested that it converts to MP3 from Flac, it doesn’t do this either automatically.