Try using scripts instead of files.