simplifying site script.