Added text alignment and width options