various functions and scripts wrt pixel quality were added.