don't try to call methods if there is no script
don't try to call methods if there is no script

Change-Id: I3a1d5d4b75e0e928f37c976eac1b034a7798f7fb
Reviewed-by: Karsten Heimrich <81d67632fe4bf9afb88a400b41aa25e19a1d2a12@nokia.com>

olear/qtifw,olear/qtifw,olear/qtifw,olear/qtifw