diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/ICommonServer.java.expected b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/ICommonServer.java.expected
index d52ddcde0675ab5265e804556cf5b52e3e702304..f4a6024706ec170e21b2fba4d23876e6b61d4faf 100644
--- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/ICommonServer.java.expected
+++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/ICommonServer.java.expected
@@ -127,13 +127,14 @@ public interface ICommonServer extends IServer
     public void keepSessionAlive(String sessionToken);
 
     /**
-     * Returns all scripts.
+     * Returns scripts compatible with selected {@link EntityKind} and all the scripts if
+     * {@link EntityKind} is not specified.
      * 
      * @return a sorted list of {@link Script}s.
      */
     @Transactional(readOnly = true)
     @RolesAllowed(RoleWithHierarchy.SPACE_OBSERVER)
-    public List<Script> listScripts(String sessionToken);
+    public List<Script> listScripts(String sessionToken, EntityKind entityKindOrNull);
 
     /**
      * Returns all spaces which belong to the specified database instance. *