add context parameter to PackedScript class to have the ability to read SharedPreferences