Made prefix be automatically generated and changed around some styles