Adds missing directories to extension template