each frame has a unique name and writes to disk
added delay and folder variables to script