modify awk scripts & define RULES for access data