fix publish script to not use subfolders