Made text alignment customizable for each page