Added a variable amount of policemen

added if (Application.isEditor) clause to scripts that should update in the editor