Now works with /bin/sh
Video width and height added as variables