helper script for periodically copying from ui to static dir