Added setparamter for pagestyle