added support intager for px variables, improved documentation