fixing annoying bug that made script recompile plugin every time