Added security permissions for multi-threading