set umask as 002 before running script
if no condition gived, get all from first page