need min PS version
remove comments
add comments
reformat smarty-code, remove comment