modified command script to handle webclips