Pass arguments to display.pl inside restore_display.sh
Also changed the snippet script to use this method