main is dir synch tweaks

directory synchronization on error conditions
removing full path from bivar scripts
fixing gameId null issue